package com.zhx.real.mybatisplus.conf;

import org.dozer.DozerBeanMapper;
import org.dozer.Mapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Dozer mapper Bean配置
 *
 * @author Jerry.Wu on 2018/5/21
 */
@Configuration
public class DozerMapperConfig {

    @Bean
    public Mapper dozerBeanMapper() {
        return new DozerBeanMapper();
    }

}
